package lib.bone.admin.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
public class FileUpdateDTO {

    @NotBlank(message = "关联科研项目ID不可为空")
    @ApiModelProperty(value = "关联科研项目ID",notes = "根据科研项目类型不同，对应不同的表")
    String mapperId;

    @NotEmpty(message = "关联文件不可为空")
    @ApiModelProperty(value = "关联文件ID列表")
    List<String> fileIds;
}
